package com.study.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class Application {
    /**
     * 使用 java -jar 命令启动jar包，并给main方法传递参数，参数之间用空格隔开
     * java -jar .\spring-boot-runner-demo-1.0-SNAPSHOT.jar --test=show p1 p2 p3
     * @param args 参数数组
     */
    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}
